package com.zscat.mallplus.unionpay;

/**
 * @author UnionPay
 */
public class SDKConstants {

    public final static String COLUMN_DEFAULT = "-";

    public final static String KEY_DELIMITER = "#";

    /**
     * memeber variable: blank.
     */
    public static final String BLANK = "";

    /**
     * member variabel: space.
     */
    public static final String SPACE = " ";

    /**
     * memeber variable: unline.
     */
    public static final String UNLINE = "_";

    /**
     * memeber varibale: star.
     */
    public static final String STAR = "*";

    /**
     * memeber variable: line.
     */
    public static final String LINE = "-";

    /**
     * memeber variable: add.
     */
    public static final String ADD = "+";

    /**
     * memeber variable: colon.
     */
    public final static String COLON = "|";

    /**
     * memeber variable: point.
     */
    public final static String POINT = ".";

    /**
     * memeber variable: comma.
     */
    public final static String COMMA = ",";

    /**
     * memeber variable: slash.
     */
    public final static String SLASH = "/";

    /**
     * memeber variable: div.
     */
    public final static String DIV = "/";

    /**
     * memeber variable: left .
     */
    public final static String LB = "(";

    /**
     * memeber variable: right.
     */
    public final static String RB = ")";

    /**
     * memeber variable: rmb.
     */
    public final static String CUR_RMB = "RMB";

    /**
     * memeber variable: .page size
     */
    public static final int PAGE_SIZE = 10;

    /**
     * memeber variable: String ONE.
     */
    public static final String ONE = "1";

    /**
     * memeber variable: String ZERO.
     */
    public static final String ZERO = "0";

    /**
     * memeber variable: number six.
     */
    public static final int NUM_SIX = 6;

    /**
     * memeber variable: equal mark.
     */
    public static final String EQUAL = "=";

    /**
     * memeber variable: operation ne.
     */
    public static final String NE = "!=";

    /**
     * memeber variable: operation le.
     */
    public static final String LE = "<=";

    /**
     * memeber variable: operation ge.
     */
    public static final String GE = ">=";

    /**
     * memeber variable: operation lt.
     */
    public static final String LT = "<";

    /**
     * memeber variable: operation gt.
     */
    public static final String GT = ">";

    /**
     * memeber variable: list separator.
     */
    public static final String SEP = "./";

    /**
     * memeber variable: Y.
     */
    public static final String Y = "Y";

    /**
     * memeber variable: AMPERSAND.
     */
    public static final String AMPERSAND = "&";

    /**
     * memeber variable: SQL_LIKE_TAG.
     */
    public static final String SQL_LIKE_TAG = "%";

    /**
     * memeber variable: @.
     */
    public static final String MAIL = "@";

    /**
     * memeber variable: number zero.
     */
    public static final int NZERO = 0;

    public static final String LEFT_BRACE = "{";

    public static final String RIGHT_BRACE = "}";

    /**
     * memeber variable: string true.
     */
    public static final String TRUE_STRING = "true";
    /**
     * memeber variable: string false.
     */
    public static final String FALSE_STRING = "false";

    /**
     * memeber variable: forward success.
     */
    public static final String SUCCESS = "success";
    /**
     * memeber variable: forward fail.
     */
    public static final String FAIL = "fail";
    /**
     * memeber variable: global forward success.
     */
    public static final String GLOBAL_SUCCESS = "$success";
    /**
     * memeber variable: global forward fail.
     */
    public static final String GLOBAL_FAIL = "$fail";

    public static final String UTF_8_ENCODING = "UTF-8";
    public static final String GBK_ENCODING = "GBK";
    public static final String CONTENT_TYPE = "Content-type";
    public static final String APP_XML_TYPE = "application/xml;charset=utf-8";
    public static final String APP_FORM_TYPE = "application/x-www-form-urlencoded;charset=";

    public static final String VERSION_1_0_0 = "1.0.0";
    public static final String VERSION_5_0_0 = "5.0.0";
    public static final String VERSION_5_0_1 = "5.0.1";
    public static final String VERSION_5_1_0 = "5.1.0";
    public static final String SIGNMETHOD_RSA = "01";
    public static final String SIGNMETHOD_SHA256 = "11";
    public static final String SIGNMETHOD_SM3 = "12";
    public static final String UNIONPAY_CNNAME = "中国银联股份有限公司";
    public static final String CERTTYPE_01 = "01";// 敏感信息加密公钥
    public static final String CERTTYPE_02 = "02";// 磁道加密公钥

    /******************************************** 5.0报文接口定义 ********************************************/
    /**
     * 版本号.
     */
    public static final String param_version = "version";
    /**
     * 证书ID.
     */
    public static final String param_certId = "certId";
    /**
     * 签名.
     */
    public static final String param_signature = "signature";
    /**
     * 签名方法.
     */
    public static final String param_signMethod = "signMethod";
    /**
     * 编码方式.
     */
    public static final String param_encoding = "encoding";
    /**
     * 交易类型.
     */
    public static final String param_txnType = "txnType";
    /**
     * 交易子类.
     */
    public static final String param_txnSubType = "txnSubType";
    /**
     * 业务类型.
     */
    public static final String param_bizType = "bizType";
    /**
     * 前台通知地址 .
     */
    public static final String param_frontUrl = "frontUrl";
    /**
     * 后台通知地址.
     */
    public static final String param_backUrl = "backUrl";
    /**
     * 接入类型.
     */
    public static final String param_accessType = "accessType";
    /**
     * 收单机构代码.
     */
    public static final String param_acqInsCode = "acqInsCode";
    /**
     * 商户类别.
     */
    public static final String param_merCatCode = "merCatCode";
    /**
     * 商户类型.
     */
    public static final String param_merType = "merType";
    /**
     * 商户代码.
     */
    public static final String param_merId = "merId";
    /**
     * 商户名称.
     */
    public static final String param_merName = "merName";
    /**
     * 商户简称.
     */
    public static final String param_merAbbr = "merAbbr";
    /**
     * 二级商户代码.
     */
    public static final String param_subMerId = "subMerId";
    /**
     * 二级商户名称.
     */
    public static final String param_subMerName = "subMerName";
    /**
     * 二级商户简称.
     */
    public static final String param_subMerAbbr = "subMerAbbr";
    /**
     * Cupsecure 商户代码.
     */
    public static final String param_csMerId = "csMerId";
    /**
     * 商户订单号.
     */
    public static final String param_orderId = "orderId";
    /**
     * 交易时间.
     */
    public static final String param_txnTime = "txnTime";
    /**
     * 发送时间.
     */
    public static final String param_txnSendTime = "txnSendTime";
    /**
     * 订单超时时间间隔.
     */
    public static final String param_orderTimeoutInterval = "orderTimeoutInterval";
    /**
     * 支付超时时间.
     */
    public static final String param_payTimeoutTime = "payTimeoutTime";
    /**
     * 默认支付方式.
     */
    public static final String param_defaultPayType = "defaultPayType";
    /**
     * 支持支付方式.
     */
    public static final String param_supPayType = "supPayType";
    /**
     * 支付方式.
     */
    public static final String param_payType = "payType";
    /**
     * 自定义支付方式.
     */
    public static final String param_customPayType = "customPayType";
    /**
     * 物流标识.
     */
    public static final String param_shippingFlag = "shippingFlag";
    /**
     * 收货地址-国家.
     */
    public static final String param_shippingCountryCode = "shippingCountryCode";
    /**
     * 收货地址-省.
     */
    public static final String param_shippingProvinceCode = "shippingProvinceCode";
    /**
     * 收货地址-市.
     */
    public static final String param_shippingCityCode = "shippingCityCode";
    /**
     * 收货地址-地区.
     */
    public static final String param_shippingDistrictCode = "shippingDistrictCode";
    /**
     * 收货地址-详细.
     */
    public static final String param_shippingStreet = "shippingStreet";
    /**
     * 商品总类.
     */
    public static final String param_commodityCategory = "commodityCategory";
    /**
     * 商品名称.
     */
    public static final String param_commodityName = "commodityName";
    /**
     * 商品URL.
     */
    public static final String param_commodityUrl = "commodityUrl";
    /**
     * 商品单价.
     */
    public static final String param_commodityUnitPrice = "commodityUnitPrice";
    /**
     * 商品数量.
     */
    public static final String param_commodityQty = "commodityQty";
    /**
     * 是否预授权.
     */
    public static final String param_isPreAuth = "isPreAuth";
    /**
     * 币种.
     */
    public static final String param_currencyCode = "currencyCode";
    /**
     * 账户类型.
     */
    public static final String param_accType = "accType";
    /**
     * 账号.
     */
    public static final String param_accNo = "accNo";
    /**
     * 支付卡类型.
     */
    public static final String param_payCardType = "payCardType";
    /**
     * 发卡机构代码.
     */
    public static final String param_issInsCode = "issInsCode";
    /**
     * 持卡人信息.
     */
    public static final String param_customerInfo = "customerInfo";
    /**
     * 交易金额.
     */
    public static final String param_txnAmt = "txnAmt";
    /**
     * 余额.
     */
    public static final String param_balance = "balance";
    /**
     * 地区代码.
     */
    public static final String param_districtCode = "districtCode";
    /**
     * 附加地区代码.
     */
    public static final String param_additionalDistrictCode = "additionalDistrictCode";
    /**
     * 账单类型.
     */
    public static final String param_billType = "billType";
    /**
     * 账单号码.
     */
    public static final String param_billNo = "billNo";
    /**
     * 账单月份.
     */
    public static final String param_billMonth = "billMonth";
    /**
     * 账单查询要素.
     */
    public static final String param_billQueryInfo = "billQueryInfo";
    /**
     * 账单详情.
     */
    public static final String param_billDetailInfo = "billDetailInfo";
    /**
     * 账单金额.
     */
    public static final String param_billAmt = "billAmt";
    /**
     * 账单金额符号.
     */
    public static final String param_billAmtSign = "billAmtSign";
    /**
     * 绑定标识号.
     */
    public static final String param_bindId = "bindId";
    /**
     * 风险级别.
     */
    public static final String param_riskLevel = "riskLevel";
    /**
     * 绑定信息条数.
     */
    public static final String param_bindInfoQty = "bindInfoQty";
    /**
     * 绑定信息集.
     */
    public static final String param_bindInfoList = "bindInfoList";
    /**
     * 批次号.
     */
    public static final String param_batchNo = "batchNo";
    /**
     * 总笔数.
     */
    public static final String param_totalQty = "totalQty";
    /**
     * 总金额.
     */
    public static final String param_totalAmt = "totalAmt";
    /**
     * 文件类型.
     */
    public static final String param_fileType = "fileType";
    /**
     * 文件名称.
     */
    public static final String param_fileName = "fileName";
    /**
     * 批量文件内容.
     */
    public static final String param_fileContent = "fileContent";
    /**
     * 商户摘要.
     */
    public static final String param_merNote = "merNote";
    /** 商户自定义域. */
    // public static final String param_merReserved = "merReserved";//接口变更删除
    /**
     * 请求方保留域.
     */
    public static final String param_reqReserved = "reqReserved";// 新增接口
    /**
     * 保留域.
     */
    public static final String param_reserved = "reserved";
    /**
     * 终端号.
     */
    public static final String param_termId = "termId";
    /**
     * 终端类型.
     */
    public static final String param_termType = "termType";
    /**
     * 交互模式.
     */
    public static final String param_interactMode = "interactMode";
    /**
     * 发卡机构识别模式.
     */
    // public static final String param_recognitionMode = "recognitionMode";
    public static final String param_issuerIdentifyMode = "issuerIdentifyMode";// 接口名称变更
    /**
     * 商户端用户号.
     */
    public static final String param_merUserId = "merUserId";
    /**
     * 持卡人IP.
     */
    public static final String param_customerIp = "customerIp";
    /**
     * 查询流水号.
     */
    public static final String param_queryId = "queryId";
    /**
     * 原交易查询流水号.
     */
    public static final String param_origQryId = "origQryId";
    /**
     * 系统跟踪号.
     */
    public static final String param_traceNo = "traceNo";
    /**
     * 交易传输时间.
     */
    public static final String param_traceTime = "traceTime";
    /**
     * 清算日期.
     */
    public static final String param_settleDate = "settleDate";
    /**
     * 清算币种.
     */
    public static final String param_settleCurrencyCode = "settleCurrencyCode";
    /**
     * 清算金额.
     */
    public static final String param_settleAmt = "settleAmt";
    /**
     * 清算汇率.
     */
    public static final String param_exchangeRate = "exchangeRate";
    /**
     * 兑换日期.
     */
    public static final String param_exchangeDate = "exchangeDate";
    /**
     * 响应时间.
     */
    public static final String param_respTime = "respTime";
    /**
     * 原交易应答码.
     */
    public static final String param_origRespCode = "origRespCode";
    /**
     * 原交易应答信息.
     */
    public static final String param_origRespMsg = "origRespMsg";
    /**
     * 应答码.
     */
    public static final String param_respCode = "respCode";
    /**
     * 应答码信息.
     */
    public static final String param_respMsg = "respMsg";
    // 新增四个报文字段merUserRegDt merUserEmail checkFlag activateStatus
    /**
     * 商户端用户注册时间.
     */
    public static final String param_merUserRegDt = "merUserRegDt";
    /**
     * 商户端用户注册邮箱.
     */
    public static final String param_merUserEmail = "merUserEmail";
    /**
     * 验证标识.
     */
    public static final String param_checkFlag = "checkFlag";
    /**
     * 开通状态.
     */
    public static final String param_activateStatus = "activateStatus";
    /**
     * 加密证书ID.
     */
    public static final String param_encryptCertId = "encryptCertId";
    /**
     * 用户MAC、IMEI串号、SSID.
     */
    public static final String param_userMac = "userMac";
    /** 关联交易. */
    // public static final String param_relationTxnType = "relationTxnType";
    /**
     * 短信类型
     */
    public static final String param_smsType = "smsType";

    /**
     * 风控信息域
     */
    public static final String param_riskCtrlInfo = "riskCtrlInfo";

    /**
     * IC卡交易信息域
     */
    public static final String param_ICTransData = "ICTransData";

    /**
     * VPC交易信息域
     */
    public static final String param_VPCTransData = "VPCTransData";

    /**
     * 安全类型
     */
    public static final String param_securityType = "securityType";

    /**
     * 银联订单号
     */
    public static final String param_tn = "tn";

    /**
     * 分期付款手续费率
     */
    public static final String param_instalRate = "instalRate";

    /**
     * 分期付款手续费率
     */
    public static final String param_mchntFeeSubsidy = "mchntFeeSubsidy";

    /**
     * 签名公钥证书
     */
    public static final String param_signPubKeyCert = "signPubKeyCert";

    /**
     * 加密公钥证书
     */
    public static final String param_encryptPubKeyCert = "encryptPubKeyCert";

    /**
     * 证书类型
     */
    public static final String param_certType = "certType";

}
